package com.lihaogn.sell.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @FileName: FoodType
 * @Description: TODO
 *
 * -- 荤素类别
 * DROP TABLE IF EXISTS `food_type_category`;
 * CREATE TABLE `food_type_category` (
 *   `ftc_id` int unsigned NOT NULL,
 *   `ftc_name` varchar(10) NOT NULL,
 *   `ftc_create_time` datetime NOT NULL DEFAULT now(),
 *   `ftc_modified_time` timestamp,
 *   PRIMARY KEY (`ftc_id`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 *
 * @Author: lihao
 * @Date: 2019-04-22 16:39
 * @Version: 1.0
 */
@Data
public class FoodTypeCategory {

    private String categoryId;
    private String categoryName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date categoryCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date categoryModifiedTime;

}
